﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace Aide45.Controllers
{
    public class NetWorkController : ApiController
    {
        [HttpGet]
        public string ReConnect()
        {
            var reconnected = new AdslConnManager().Reconnection();
            return reconnected ? IpHelper.GetInterNetIP() : "";
        }
    }
}